package com.sina.interfaces.manage.dao.sys;



import com.sina.interfaces.core.BaseDao;
import com.sina.interfaces.domain.sys.Admin;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * 段浩杰   2017-11-15-12:33
 */
public interface AdminManageDao extends BaseDao {

    Admin getAdminByName(String name);

    Admin getAdmin(String name);

    int deleteAdmin(Integer id);

    List<Map<String, Object>> getAdminList(Admin admin);

    Long getAdminCount(Admin admin);

}
